repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
924 - Spreading the news (BFS, grafos) & 10004 - Bicoloring (DFS, grafos)
[andmenj-acm.git]
/
724 - Reverse
/
724.3.cpp
blob
d3a63412ed5b4c90dfc26a2fa2c8bc1b46e78fce
1
#include <iostream>
2
#include <algorithm>
3
using namespace
std
;
4
5
int
main
(){
6
string s
=
"int main(){ return 0; }"
;
7
cout
<<
s
<<
endl
;
8
reverse
(
s
.
begin
(),
s
.
end
());
9
cout
<<
s
<<
endl
;
10
return
0
;
11
}